package com.henme.crm.dao.admin;


import com.henme.crm.entity.admin.Role;
import com.henme.crm.util.dao.IBaseMapper;
import com.henme.crm.util.page.Page;

import java.util.List;
import java.util.Map;

public interface RoleMapper  extends IBaseMapper<Role> {
    List<Role> getRoleList();
    List<Role> findRolePage(Page<Role> page);
    List<Role> getRoleListByuserid(Long id);
    void deleteRolePermission(Long roleId);
    void insertRolePermissionBatch(List<Map<String, Object>> list);
}
